<?php
// +----------------------------------------------------------------------
// | 海豚PHP框架 [ DolphinPHP ]
// +----------------------------------------------------------------------
// | 版权所有 2016~2019 广东卓锐软件有限公司 [ http://www.zrthink.com ]
// +----------------------------------------------------------------------
// | 官方网站: http://dolphinphp.com
// +----------------------------------------------------------------------

namespace app\api\validate;


/**
 * 添加随访记录验证
 * @package app\case\validate
 */
class FollowRecordValidate extends BaseValidate
{

    public $rule = [

        'case_id' => 'require',
        'visit_at' => 'require',
        'inspect_imgs' => 'require',
        'visit_info' => 'require',
    ];

    protected $message = [

        'case_id.require' => '缺少案例ID',
        'visit_at.require' => '请选择随访时间',
        'inspect_imgs.require' => '请上传检测报告',
        'visit_info.require' => '请输入特殊病症描述',
    ];

    protected $scene = [

        'followRecordAdd' => [ 'case_id','visit_at','inspect_imgs','visit_info'],//添加随访记录
    ];




}
